package com.vict.bean.pay.ao;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.vict.framework.bean.PageRequest;
import com.vict.framework.fastjsonserializer.DecimalDeserializer;
import com.vict.framework.fastjsonserializer.DecimalSerializer;
import com.vict.framework.fastjsonserializer.TimestampDeserializer;
import com.vict.framework.fastjsonserializer.TimestampSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
public class SelectPayBackOrderAO extends PageRequest {

    @ApiModelProperty(value="payBackDtoId")
    private String payBackDtoId;

    @ApiModelProperty(value="payDtoId")
    private String payDtoId;

    @ApiModelProperty(value="退款金额begin")
    @JSONField(serializeUsing = DecimalSerializer.class, deserializeUsing = DecimalDeserializer.class)
    private BigDecimal backMoneyBegin;

    @ApiModelProperty(value="退款金额end")
    @JSONField(serializeUsing = DecimalSerializer.class, deserializeUsing = DecimalDeserializer.class)
    private BigDecimal backMoneyEnd;

    @ApiModelProperty(value="退款成功时间begin")
    @JSONField(serializeUsing = TimestampSerializer.class, deserializeUsing = TimestampDeserializer.class)
    private Timestamp backTimeBegin;

    @ApiModelProperty(value="退款成功时间end")
    @JSONField(serializeUsing = TimestampSerializer.class, deserializeUsing = TimestampDeserializer.class)
    private Timestamp backTimeEnd;
}
